package block.inner;

public class LocalClassTest {
    public static void main(String[] args) {
        A a = new A();
        a.show();
    }
}

class A{

    public void show(){

        class B{
            public void method(){
                System.out.println("method");
            }
        }

        B b = new B();
        b.method();

    }




}
